/**
 * 
 */
package cn.softTank.BpelModelImpl.PartnerLinkTypeImpl;

import cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType;
import cn.softTank.BpelModel.PartnerLinkType.Role;

/**
 * @author Yuzone (smartzxy@gmail.com)
 *
 */
public class PartnerLinkTypeImpl implements PartnerLinkType {

	private String name;
	private String location;
	private String namespace;
	private Role roleA;
	private Role roleB;

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#getLocation()
	 */
	@Override
	public String getLocation() {
		return location;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#getName()
	 */
	@Override
	public String getName() {
		return name;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#getNamespace()
	 */
	@Override
	public String getNameSpace() {
		return namespace;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#getRoleA()
	 */
	@Override
	public Role getRoleA() {
		return roleA;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#getRoleB()
	 */
	@Override
	public Role getRoleB() {
		return roleB;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#setLocation(java.lang.String)
	 */
	@Override
	public void setLocation(String value) {
		location=value;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#setName(java.lang.String)
	 */
	@Override
	public void setName(String value) {
		name=value;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#setNamespace(java.lang.String)
	 */
	@Override
	public void setNameSpace(String value) {
		namespace=value;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#setRoleA(cn.softTank.BpelModel.PartnerLinkType.Role)
	 */
	@Override
	public void setRoleA(Role value) {
		roleA=value;
	}

	/* (non-Javadoc)
	 * @see cn.softTank.BpelModel.PartnerLinkType.PartnerLinkType#setRoleB(cn.softTank.BpelModel.PartnerLinkType.Role)
	 */
	@Override
	public void setRoleB(Role value) {
		roleB=value;
	}

}
